﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using snat.algorithms.network.TFIDF;

namespace snat.algorithms.node.TFIDF {
    /// <summary>
    /// Class for storing how far a document has gone.
    /// Required for forwarding prediction algorithms.
    /// </summary>
    public class DocumentPathRecorder {

        private Document d;
        public int PathLength {
            get;
            set;
        }

        public void incrPathLength() {
            PathLength++;
        }

        public DocumentPathRecorder(Document doc) {
            d = doc;
            PathLength = 0;
        }

        public Document getDoc() {
            return d;
        }
    }
}
